package com.system.healthproject.model.admin.service;

import com.system.healthproject.bean.BannerTypeName;
import com.system.healthproject.bean.ResultBanner;
import com.system.healthproject.pojo.Banner;
import com.system.healthproject.pojo.BannerType;

import java.util.List;

public interface BannerService {
    List<BannerType> selectBannerTypeIdName();

    List<ResultBanner> selectBanner(Integer bannertypeId, String createStartTime, String createEndTime, Integer currentPage, Integer limit);

    Integer countBanner(Integer bannertypeId, String createStartTime, String createEndTime);

    String addBanner(Integer bannerTypeId, Integer bannerDisplay, String bannerContent, String bannerH5path, String bannerImg);

    String deleteBanner(Integer bannerId);

    String releaseDismountBanner(Integer bannerId, Integer bannerState);

    String updateBanner(Integer bannerId, Integer bannerTypeId, Integer bannerDisplay, String bannerContent, String bannerH5path, String bannerImg);

    Banner selectById(Integer bannerId);
}
